package chapter67.chapter7;

/**
 * Created by lenovo on 2016/3/27.
 */
public class Human implements Swimmer{
    private String name;
    public Human(String name){
        this.name=name;
    }
    public String getName(){
        return name;
    }

    @Override
    public void swim() {
        System.out.printf("人类%s游泳%n",name);
    }
}

